package com.turnengine.client.local.unit.command;

import com.javabi.codebuilder.generated.IGeneratedCommand;
import com.turnengine.client.local.command.IStaticSetupCommand;
import com.turnengine.client.local.unit.bean.IStorageItem;

/**
 * The I Set Storage Item.
 */
public interface ISetStorageItem extends IGeneratedCommand, IStaticSetupCommand<Boolean>, Comparable<ISetStorageItem> {

	/**
	 * Returns the login id.
	 * @return the login id.
	 */
	long getLoginId();

	/**
	 * Returns the instance id.
	 * @return the instance id.
	 */
	int getInstanceId();

	/**
	 * Returns the item.
	 * @return the item.
	 */
	IStorageItem getItem();

	/**
	 * Sets the login id.
	 * @param loginId the login id to set.
	 */
	void setLoginId(long loginId);

	/**
	 * Sets the instance id.
	 * @param instanceId the instance id to set.
	 */
	void setInstanceId(int instanceId);

	/**
	 * Sets the item.
	 * @param item the item to set.
	 */
	void setItem(IStorageItem item);
}
